.class Lcom/android/inputmethod/latin/GoogleVoiceManager$5;
.super Ljava/lang/Object;
.source "GoogleVoiceManager.java"

# interfaces
.implements Landroid/content/ServiceConnection;


# annotations
.annotation system Ldalvik/annotation/EnclosingClass;
    value = Lcom/android/inputmethod/latin/GoogleVoiceManager;
.end annotation

.annotation system Ldalvik/annotation/InnerClass;
    accessFlags = 0x0
    name = null
.end annotation


# instance fields
.field final synthetic this$0:Lcom/android/inputmethod/latin/GoogleVoiceManager;


# direct methods
.method constructor <init>(Lcom/android/inputmethod/latin/GoogleVoiceManager;)V
    .locals 0
    .parameter

    .prologue
    .line 342
    iput-object p1, p0, Lcom/android/inputmethod/latin/GoogleVoiceManager$5;->this$0:Lcom/android/inputmethod/latin/GoogleVoiceManager;

    invoke-direct {p0}, Ljava/lang/Object;-><init>()V

    return-void
.end method


# virtual methods
.method public onServiceConnected(Landroid/content/ComponentName;Landroid/os/IBinder;)V
    .locals 2
    .parameter "name"
    .parameter "service"

    .prologue
    .line 338
    iget-object v0, p0, Lcom/android/inputmethod/latin/GoogleVoiceManager$5;->this$0:Lcom/android/inputmethod/latin/GoogleVoiceManager;

    invoke-static {p2}, Landroid/speech/IRecognitionService$Stub;->asInterface(Landroid/os/IBinder;)Landroid/speech/IRecognitionService;

    move-result-object v1

    iput-object v1, v0, Lcom/android/inputmethod/latin/GoogleVoiceManager;->mService:Landroid/speech/IRecognitionService;

    .line 339
    iget-object v0, p0, Lcom/android/inputmethod/latin/GoogleVoiceManager$5;->this$0:Lcom/android/inputmethod/latin/GoogleVoiceManager;

    invoke-virtual {v0}, Lcom/android/inputmethod/latin/GoogleVoiceManager;->startRecognition()V

    .line 340
    return-void
.end method

.method public onServiceDisconnected(Landroid/content/ComponentName;)V
    .locals 2
    .parameter "name"

    .prologue
    .line 343
    iget-object v0, p0, Lcom/android/inputmethod/latin/GoogleVoiceManager$5;->this$0:Lcom/android/inputmethod/latin/GoogleVoiceManager;

    const/4 v1, 0x0

    iput-object v1, v0, Lcom/android/inputmethod/latin/GoogleVoiceManager;->mService:Landroid/speech/IRecognitionService;

    .line 344
    return-void
.end method
